package com.desire.config;

import com.desire.bean.User;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Set;

/**
 * @author LittleDesire
 * @description 批量注入注解
 * @date 2022-04-26 周二 16:39
 * @since 17
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "db")
public class AppConfig2 {
    User user;
    String hobby;
    List list;
    Set set;

    String[] course;
}
